# -*- coding: utf-8 -*-
"""
Created on Tue Oct 24 19:51:25 2023

@author: 楠川之木
"""

import re


s = "例如踏踏实实、密密麻麻、简简单单、时时刻刻是一些。。。"
pattern=r'(([\u4e00-\u9fa5])\2([\u4e00-\u9fa5])\3)'
r=re.findall(pattern,s)
if r:
    for word in r:
        print(word[0])